<!--
 * @Description: 选择器
 * @Author: charles
 * @Date: 2021-08-10 14:24:53
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-08-16 14:59:14
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>选择器</title>
  <style>
    ul,p,body {
      margin: 0;
    }
    div.box {
      color: teal;
    }
    div {
      color: tomato;
    }
    ul.box {
      color: violet;
    }
    ul.box::after {
      content: "";
      display: block;
      clear: both;
    }
    ul.box > li {
      float: left;
      width: 100px;
      text-align: center;
    }

    div.content >* {
      color: yellowgreen;
    } 
  </style>
</head>
<body>
  <div class="box" id="one">this id is one ,this class is box</div>
  <div class="box">this class is box</div>
  <div class="container"> this is container</div>
  <ul class="box">
    <li>one</li>
    <li>two</li>
    <li>three</li>
  </ul>
  <p>hello world</p>

  <div class="content">
    <p>hello p</p>
  </div>
  <div class="content">
    <!-- *选择器统筹块下的块 -->
    <div>hello div</div>
  </div>
</body>
</html>
